package com.tv.nextin.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class Bussiness implements Parcelable{
	String nameBussiness;
	String distance;
	String address;
	String hourSupport;
	
	public Bussiness(){
		super();
	}

	public String getNameBussiness() {
		return nameBussiness;
	}

	public void setNameBussiness(String nameBussiness) {
		this.nameBussiness = nameBussiness;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getHourSupport() {
		return hourSupport;
	}

	public void setHourSupport(String hourSupport) {
		this.hourSupport = hourSupport;
	}
	
	public Bussiness(String name, String distance, String address, String hour){
		super();
		this.nameBussiness = name;
		this.distance = distance;
		this.address = address;
		this.hourSupport = hour;
	}
	
	
	public Bussiness(Parcel in){
		nameBussiness = in.readString();
		distance = in.readString();
		address = in.readString();
		hourSupport = in.readString();
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(nameBussiness);
		dest.writeString(distance);
		dest.writeString(address);
		dest.writeString(hourSupport);
	}
	
	public static final Parcelable.Creator<Bussiness> CREATOR = new Parcelable.Creator<Bussiness>() {
		public Bussiness createFromParcel(Parcel in) {
			return new Bussiness(in);
		}

		public Bussiness[] newArray(int size) {
			return new Bussiness[size];
		}
	};
	

}
